import Vue from 'vue'
import Vuex from 'vuex'
import user from '@/store/modules/user'
import cart from '@/store/modules/cart'
import search from '@/store/modules/search'
import productPay from '@/store/modules/productPay'
import cartList from '@/store/modules/cartList'


Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  getters: {
    // token:state => state.user.userInfo.token
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    user,
    cart,
    search,
    productPay,
    cartList
  }
})


